const mongoose = require("mongoose")

const Group = new mongoose.Schema({
    group_number:{
        type:String,
        required:true,
        select:true
    },
    group_name:{
        type:String,
        required:true,
        select:true
    },
    group_users:{
        type:Array,
        default:[],
        select:true
    },
    group_creator:{
        type:String,
        required:true,
        select:true
    }
})

module.exports = mongoose.model("group",Group,"group")